package com.hui.platform.falseworkapi.service.business.user.event;

import com.hui.platform.falseworkapi.service.business.user.entity.TbUser;
import org.springframework.context.ApplicationEvent;

/**
 * @Date 2020/5/7 9:56
 * @Author hui
 **/
public class RegisterUserEvent extends ApplicationEvent {

    private TbUser tbUser;

    public RegisterUserEvent(Object source, TbUser tbUser) {
        super(source);
        this.tbUser = tbUser;
    }

    private TbUser getUser(){
        return this.tbUser;
    }
}
